package com.sanbi.easytao.client.pc.model;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Calendar;

@Data
public class Message {

	private Long id;

	@NotEmpty(message = "Text is required.")
	private String text;

	@NotEmpty(message = "Summary is required.")
	private String summary;

	private Calendar created = Calendar.getInstance();

}
